package webService;

import javax.jws.WebService;
import javax.xml.ws.Endpoint;
//发布服务
@WebService
public class SeviceHello {
	public void sayHello(String name) {
		System.out.println("Hello" + name);
	}
	public static void main(String[] args){
		Endpoint.publish("http://localhost:8086/serviceTest/SeviceHello", new SeviceHello());
		System.out.println(" servive success");
	}
}

